<?php

namespace addons\test\app\admin\controller;

use app\common\controller\BaseAdminController;

class Index extends BaseAdminController
{
    protected $noNeedLogin = ["*"];
    protected $noNeedRight = ["*"];
    public function index()
    {
//        echo "<pre>";
//        print_r($this->view);
//        exit;
//        return json(['code'=>200,'msg'=>'ok']);
//        echo "<pre>";
//        print_r(111);
//        exit;
//        $this->assignconfig("aaa",'aaa');
//        echo "<pre>";
//        print_r($this->view->config);
//        exit;
//        echo '<pre>';
//        print_r($this->view);
        return $this->view->fetch();
    }
}